package cn.stylefeng.guns.modular.school.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.school.entity.CourseSign;
import cn.stylefeng.guns.modular.school.model.params.CourseSignParam;
import cn.stylefeng.guns.modular.school.model.result.CourseSignResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 签到信息 服务类
 * </p>
 *
 * @author 
 * @since 2020-05-03
 */
public interface CourseSignService extends IService<CourseSign> {

    /**
     * 新增
     *
     * @author 
     * @Date 2020-05-03
     */
    void add(CourseSignParam param);

    /**
     * 删除
     *
     * @author 
     * @Date 2020-05-03
     */
    void delete(CourseSignParam param);

    /**
     * 更新
     *
     * @author 
     * @Date 2020-05-03
     */
    void update(CourseSignParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 
     * @Date 2020-05-03
     */
    CourseSignResult findBySpec(CourseSignParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author 
     * @Date 2020-05-03
     */
    List<CourseSignResult> findListBySpec(CourseSignParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 
     * @Date 2020-05-03
     */
     LayuiPageInfo findPageBySpec(CourseSignParam param);

}
